/**
 * Copyright (C) 2010 Cloudfarming <info@cloudfarming.nl>
 *
 * Licensed under the Eclipse Public License - v 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.eclipse.org/legal/epl-v10.html
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package nl.cloudfarming.sensor.model;

import java.util.Date;

/**
 *
 * @author Merijn Zengers Gerben Feenstra
 */
//public abstract class  DataFileBO implements Serializable {

public interface DataFileBO{

    void setFileRead(Date fileRead);

    Date getFileRead();

    String getChecksum();

    void setChecksum(String checksum);

    Date getFileCreated();

    void setFileCreated(Date fileCreated);

    String getFileName();

    void setFileName(String fileName);

//    @Id
//    @GeneratedValue(strategy=GenerationType.IDENTITY)
//    @Column(name="GEOSENSORDATAFILE_ID")
//    private long dataFileId;
//
//    @Column(name="FILENAME")
//    private String fileName;
//
//    @Column(name="MD5_CHEKSUM")
//    private String checksum;
//
//    @Temporal(TemporalType.TIMESTAMP)
//    @Column(name="FILE_CREATED")
//    private Date fileCreated;
//
//    @Temporal(TemporalType.TIMESTAMP)
//    @Column(name="FILE_READ")
//    private Date fileRead;
//
//     /**
//     * For JPA use only.
//     */
//    @Deprecated
//    protected DataFileBO() {
//    }
//
//    public DataFileBO(String fileName, String checksum, Date fileCreated, Date fileRead) {
//        this.fileName = fileName;
//        this.checksum = checksum;
//        this.fileCreated = fileCreated;
//        this.fileRead = fileRead;
//    }
//
//    public Date getFileRead() {
//        return fileRead;
//    }
//
//    public void setFileRead(Date fileRead) {
//        this.fileRead = fileRead;
//    }
//
//
//    public String getChecksum() {
//        return checksum;
//    }
//
//    public void setChecksum(String checksum) {
//        this.checksum = checksum;
//    }
//
//    public Date getFileCreated() {
//        return fileCreated;
//    }
//
//    public void setFileCreated(Date fileCreated) {
//        this.fileCreated = fileCreated;
//    }
//
//    public String getFileName() {
//        return fileName;
//    }
//
//    public void setFileName(String fileName) {
//        this.fileName = fileName;
//    }
//
//    public long getDataFileId() {
//        return dataFileId;
//    }

}
